package com.baikeyang.service.activity;

import com.baikeyang.common.bean.ResponseResult;
import com.baikeyang.common.model.ActivityFileLibrary;
import com.baikeyang.common.model.ActivityPhotoAlbum;
import com.baikeyang.service.base.ISuperService;
import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;

import java.util.List;

/**
 * <p>
 * 活动照片相册 服务类
 * </p>
 *
 * @author BaiKeyang
 * @since 2019-05-21
 */
public interface IActivityPhotoAlbumService extends ISuperService<ActivityPhotoAlbum> {

    /**
     * 保存 活动照片相册 信息
     * @param album
     * @return
     */
    ResponseResult saveActivityPhotoAlbum(ActivityPhotoAlbum album);

    /**
     * 更新 活动照片相册 信息
     * @param album
     * @return
     */
    ResponseResult updateActivityPhotoAlbum(ActivityPhotoAlbum album);

    /**
     * 删除 活动照片相册 信息
     * @param id
     * @return
     */
    ResponseResult deleteActivityPhotoAlbum(int id);

    /**
     * 查询 活动相册列表
     * @param pageParam
     * @return
     */
    IPage<ActivityPhotoAlbum> loadActivityPhotoAlbumPage(Page<ActivityPhotoAlbum> pageParam);

    List<ActivityFileLibrary> loadActivityFileLibByAlbum(int id);
}
